package com.situ.controller;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author yangkx
 * @create 2023-08-31-16:46
 */
@WebServlet("/home")
public class HomePageController extends BaseController{

    //打开页面
    public void page(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        req.getRequestDispatcher("/WEB-INF/HomePage/homepage.jsp").forward(req,resp);
    }
}
